package com.rope.backEnd.service.impl;

import com.rope.backEnd.mapper.UserReVeMapper;
import com.rope.backEnd.pojo.User;
import com.rope.backEnd.service.UserReVeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class UserReVeServiceImpl implements UserReVeService {
    @Autowired
    private UserReVeMapper userReVeMapper;

    @Override
    public User examine(String userName){
        return userReVeMapper.examine(userName);
    }

    @Override
    public int enroll(User user) {
        return userReVeMapper.enroll(user);
    }

    @Override
    public int state(String userName) {
        return userReVeMapper.state(userName);
    }

}
